package com.xzssmk.leisure.x.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xzssmk.leisure.x.po.Commission;
import com.xzssmk.leisure.x.po.CommissionExample;
import com.xzssmk.leisure.x.vo.CommissionViewVo;

public interface CommissionMapper {
    long countByExample(CommissionExample example);

    int deleteByExample(CommissionExample example);

    int deleteByPrimaryKey(Integer commissionId);

    int insert(Commission record);

    int insertSelective(Commission record);

    List<Commission> selectByExample(CommissionExample example);

    Commission selectByPrimaryKey(Integer commissionId);

    int updateByExampleSelective(@Param("record") Commission record, @Param("example") CommissionExample example);

    int updateByExample(@Param("record") Commission record, @Param("example") CommissionExample example);

    int updateByPrimaryKeySelective(Commission record);

    int updateByPrimaryKey(Commission record);

    List<CommissionViewVo> getPageList(@Param("search") String search, @Param("subSQL") String subSQL);

    List<CommissionViewVo> proportionPageList(@Param("issuePeriodId") String issuePeriodId);

}